<td><input type="checkbox" name="id[]" value="{$vo.id}"></td>
{if condition="in_array('id', $row)"}<td>{$vo.id}</td>{/if}
{if condition="in_array('name', $row)"}
<td style='text-align: left;'>
    {neq name='vo.pid' value='$pid'}--{/neq}
    {$vo.name}
</td>
{/if}
{if condition="in_array('tag', $row)"}<td style="text-align: left;">{$vo.tag}</td>{/if}
{if condition="isset($row['fields'])"}
    {foreach $row['fields'] as $col}
        {if condition="isset($fields[$col])"}
        <td>
            {if condition="isset($vo['fields'][$col])"}
                {assign name='type' value='$fields[$col]["type"]'}
                {switch name='type'}
                    {case image}
                        <img src="{$vo['fields'][$col]}" style="max-height: 100px;max-width: 150px;"/>
                    {/case}
                    {default /}
                    {$vo['fields'][$col]}
                {/switch}
            {/if}
        </td>
        {/if}
    {/foreach}
{/if}
{if condition="in_array('sort', $row)"}<td>{$vo.sort}</td>{/if}
{if condition="in_array('remark', $row)"}<td>{$vo.remark}</td>{/if}
<td>{$vo.status|get_status}</td>